import org.apache.catalina.core.ApplicationContext;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import util.RfidReader;

@SpringBootApplication
@ComponentScan(basePackages = {"com.dangdi", "com.dangdi.utils"})
@MapperScan(basePackages = "com.dangdi.dao")
@Configuration
public class DdbookApplication {
    public static void main(String[] args) {
        SpringApplication.run(DdbookApplication.class, args);
    }
}   
